// Guard.h: interface for the Guard class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GUARD_H__3B7F4926_3D0F_485C_88C3_964EA144D533__INCLUDED_)
#define AFX_GUARD_H__3B7F4926_3D0F_485C_88C3_964EA144D533__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <afxmt.h>

class Guard
{
public:
	Guard(CMutex * pMutex);
	virtual ~Guard();

private:
	CMutex * m_pMutex;
	CSingleLock * m_pSingleLock;
};

#endif // !defined(AFX_GUARD_H__3B7F4926_3D0F_485C_88C3_964EA144D533__INCLUDED_)
